package com.muqi.app.pj.shops;

import java.io.Serializable;

import org.json.JSONObject;

import com.google.gson.Gson;
import com.muqi.app.qlearn.modles.MediaInfo;

public class ShopBannerBean implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public String shangpin_id;
	public String mingcheng;
	public String fenlei;
	public String danjia;
	public String kucun;
	public String yunfei;
	public int ziyoupinpai;
	public int pingjiashu;
	public int goumaishu;
	public MediaInfo fileurl;
	
	public static ShopBannerBean fromJson(JSONObject json) {
		if(json != null){
            return new Gson().fromJson(json.toString(), ShopBannerBean.class);
        }
		return null;
	}
}
